![]() |
SetWindowContentPattern |
||||
Header: | MacWindows.h | Carbon status: | Supported | |
Sets the pattern to which a window’s content region is redrawn.
OSStatus SetWindowContentPattern ( WindowRef window, PixPatHandle pixPat );
A pointer to the window whose content pattern is being set.
Set this structure to specify the content pattern to be used. This handle is copied by the Window Manager, and your application continues to own the original. Therefore there may be higher RAM requirements for applications with numerous identically patterned windows.
A result code.
If your application uses the SetWindowContentPattern function, the window’s content region is redrawn to the pattern you specify, without affecting the value specified in the window’s CGrafPort structure for the current background pattern. .
See also the function GetWindowContentPattern.
This function is available with Mac OS 8.5 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when WindowsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by WindowsLib 8.5 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)